package com.tiantai.dashboard.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tiantai.common.annotation.Excel;
import com.tiantai.common.core.domain.BaseEntity;

/**
 * 企业管理对象 tea_enterprise
 * 
 * @author handsomedog
 * @date 2024-07-25
 */
public class TeaEnterprise extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业ID */
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String name;

    /** 企业简介 */
    @Excel(name = "企业简介")
    private String brief;

    /** 企业风貌 */
    @Excel(name = "企业风貌")
    private String imgArray;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 产品管理信息 */
    private List<TeaProduct> teaProductList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }
    public void setImgArray(String imgArray) 
    {
        this.imgArray = imgArray;
    }

    public String getImgArray() 
    {
        return imgArray;
    }
    public void setOrderNum(Integer orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum() 
    {
        return orderNum;
    }

    public List<TeaProduct> getTeaProductList()
    {
        return teaProductList;
    }

    public void setTeaProductList(List<TeaProduct> teaProductList)
    {
        this.teaProductList = teaProductList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("brief", getBrief())
            .append("imgArray", getImgArray())
            .append("orderNum", getOrderNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("teaProductList", getTeaProductList())
            .toString();
    }
}
